package com.creditcmsplt.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.creditcmsplt.entity.Token;

/**
 * 数据库操作t_credit_syslog表 厂商授权表
 * 
 * @author 雷阳军
 *
 */
public interface CreditSysLogMapper {

	@Select("select Credit_livetoken apitoken,Credit_logintoken logintoken from t_credit_syslog where Credit_userid=#{creditId} LIMIT 1")//AND TYPE=1
	public Token getToken(@Param("creditId") Long creditId);
	
}
